package com.disruptor.sample._01base.factory;

import com.disruptor.sample.common.dto.LongEvent;
import com.lmax.disruptor.EventFactory;

/**
 * 执行构建的任务
 */
public class LongEventFactory implements EventFactory<LongEvent> {

  @Override
  public LongEvent newInstance() {
    return new LongEvent();
  }
}
